package com.quanyan.place.service;

import com.quanyan.api.APIResponse;
import com.quanyan.common.Plugin.PageObj;
import com.quanyan.place.entity.*;
import com.quanyan.place.entity.apireq.ReqMemberCardOperate;
import com.quanyan.place.entity.apireq.ReqMemberCardType;
import com.quanyan.place.entity.apireq.ReqOrderOperate;
import com.quanyan.place.entity.apireq.ReqPlaceMessageVo;
import com.quanyan.place.entity.apiresp.*;
import com.quanyan.place.entity.vo.PlaceMemberTypeVo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by youxiaojia on 2016/8/23.
 * 场馆会员Service
 */
public interface PlaceMessageService {

    int insertMobileData(ReqPlaceMessageVo reqPlaceMessageVo);

    TbBizPlaceNoticeMobile getMobileDataByPlaceId(Integer placeId);

    int deleteMobileData(ReqPlaceMessageVo reqPlaceMessageVo);

    int  savePromotionRecord(TbBizPlacePromotionRecord vo);

    int  savePromotionOrder(TbBizPlacePromotionOrder vo);

    TbBizPlacePromotionRecord getPromotionRecordByToken(String token);

    TbBizPlacePromotionRewardConfig  getPromotionRewardInfo(TbBizPlacePromotionRewardConfig vo);

    List<TbBizPlacePromotionOrder> getPromotionOrderByMobile(String mobile);

    List<TbBizPlacePromotionTimes> getPromotionTimesByMobile(String mobile);

    int savePromotionTimes(TbBizPlacePromotionTimes vo);


}
